<script lang="ts" setup>
import { defineProps } from 'vue';
import type { PropType } from 'vue';

type Tourist = {
    unit: String,
    value: String,
}

const props = defineProps({
    tourist: {
        type: Object as PropType<Tourist>,
        default() {
            return {}
        }
    }
})

</script>

<template>
    <div>
        待入馆：{{ tourist.value }} <span>{{ tourist.unit }}</span>
    </div>
</template>
